package io.github.topcatv.mall.model.sys.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import io.github.topcatv.mall.common.support.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author liuyi
 * @since 2019-10-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="User对象", description="")
public class User extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    private String pwd;

    @ApiModelProperty(value = "用户头像")
    private String avatar;

    private Boolean locked;

    private Boolean credentialsExpired;

    @TableLogic
    private Boolean deleted;

}
